home *** CD-ROM | disk | FTP | other *** search
- Path: pubxfer.news.psi.net!usenet
- From: bweiss@somehost.somedomain (Bill Weiss)
- Newsgroups: comp.lang.c++
- Subject: Re: Borland 4.5 application won't work on its own
- Date: 14 Mar 1996 14:38:59 GMT
- Organization: ASSET InterTech, Inc.
- Message-ID: <4i9b23$m5g@client1.news.psi.net>
- References: <4i3fhh$bor@dole.uninett.no>
- NNTP-Posting-Host: host48.asset-intertech.com
- Mime-Version: 1.0
- Content-Type: Text/Plain; charset=US-ASCII
- X-Newsreader: WinVN 0.99.7
-
- In article <4i3fhh$bor@dole.uninett.no>, Kristoffer.Moe@nifu.no says...
- >
- >I have recently developed an application with Borland C++
- >4.5 and OWL. It is based on a TDecoratedFrame parent with a TDialog as a
- >child. The program works nicely (acceptably that is) when compiled and run
- >'within' Borland IDE. However, when it is started on its own, whithout the
- >Borland IDE loaded in the machine at all, it displays the TDecoratedFrame,
- >and generates a General Protecton Fault. With Winspector running in the
- >background it works again. The application is based on AppExpert.
- >
- >Ideas, anyone?
- >
- >
- >Yours,
- >
- >
- >
- >Kristoffer Moe
- >
- >Kristoffer.Moe@nifu.no
- >
-
- I'm assuming that your using Borland's Custom Control's, in which case I
- experienced the same problem. Whats happening is that when you run you
- application within the IDE, the IDE is loading the BWCC DLL which your
- application needs to run as well as the IDE. To make your application load the
- BWCC DLL place the method EnableBWCC( ) in the InitMainWindow method of your
- application class. It should be the first thing called. Hope this helps.
-
- Bill
-
-